package com.yt.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;

import com.yt.common.dto.BaseDTO;

/**
 * 订单产品关联关系表DTO
 *
 * @author lvzeming
 * @Date 2025-08-24 23:57:55
 */
@Data
@TableName("order_product_relation")
@ApiModel(value="订单产品关联关系表对象", description="订单产品关联关系表对象")
public class OrderProductRelationDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "产品ID")
    private Long productId;
    @ApiModelProperty(value = "订单ID")
    private Long orderId;
    @ApiModelProperty(value = "数量")
    private Integer num;
    @ApiModelProperty(value = "单价")
    private BigDecimal price;
    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;
    @ApiModelProperty(value = "产品名称")
    private String productName;
}